<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BOSS Afterburner: TerminalIO.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BOSS Afterburner
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('TerminalIO_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">TerminalIO.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;TString.h&quot;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;unordered_map&gt;</code><br />
</div>
<p><a href="TerminalIO_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceBOSS__Afterburner"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBOSS__Afterburner.html">BOSS_Afterburner</a></td></tr>
<tr class="memdesc:namespaceBOSS__Afterburner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Header with a namespace <code>Settings</code> that contains <em>all</em> settings for the analysis framework. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespaceBOSS__Afterburner_1_1TerminalIO"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBOSS__Afterburner_1_1TerminalIO.html">BOSS_Afterburner::TerminalIO</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a5b35019e4f74baaa75cd1f5de2a97fb7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBOSS__Afterburner_1_1TerminalIO.html#a5b35019e4f74baaa75cd1f5de2a97fb7">BOSS_Afterburner::TerminalIO::CheckMainArguments</a> (int argc, char *argv[], int required=1)</td></tr>
<tr class="separator:a5b35019e4f74baaa75cd1f5de2a97fb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac906d4a5d8c31d1130e7b06e8f8a8b12"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBOSS__Afterburner_1_1TerminalIO.html#ac906d4a5d8c31d1130e7b06e8f8a8b12">BOSS_Afterburner::TerminalIO::ColourPrint</a> (const char code, const TString &amp;message, const TString &amp;quantifier=&quot;&quot;)</td></tr>
<tr class="memdesc:ac906d4a5d8c31d1130e7b06e8f8a8b12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print a message in a certain colour.  <a href="namespaceBOSS__Afterburner_1_1TerminalIO.html#ac906d4a5d8c31d1130e7b06e8f8a8b12">More...</a><br /></td></tr>
<tr class="separator:ac906d4a5d8c31d1130e7b06e8f8a8b12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac66d0f2f2e2bf85ca6a7fdefd6abe1cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBOSS__Afterburner_1_1TerminalIO.html#ac66d0f2f2e2bf85ca6a7fdefd6abe1cc">BOSS_Afterburner::TerminalIO::PrintFatalError</a> (const TString &amp;message)</td></tr>
<tr class="memdesc:ac66d0f2f2e2bf85ca6a7fdefd6abe1cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print a <b>fatal error</b> message (that is, one that terminates) in red.  <a href="namespaceBOSS__Afterburner_1_1TerminalIO.html#ac66d0f2f2e2bf85ca6a7fdefd6abe1cc">More...</a><br /></td></tr>
<tr class="separator:ac66d0f2f2e2bf85ca6a7fdefd6abe1cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab261c20087541fece30f2e830650b9ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBOSS__Afterburner_1_1TerminalIO.html#ab261c20087541fece30f2e830650b9ed">BOSS_Afterburner::TerminalIO::PrintSuccess</a> (const TString &amp;message)</td></tr>
<tr class="memdesc:ab261c20087541fece30f2e830650b9ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print a <b>success</b> message in green.  <a href="namespaceBOSS__Afterburner_1_1TerminalIO.html#ab261c20087541fece30f2e830650b9ed">More...</a><br /></td></tr>
<tr class="separator:ab261c20087541fece30f2e830650b9ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8751ac933668364ed8a9194561a2d649"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBOSS__Afterburner_1_1TerminalIO.html#a8751ac933668364ed8a9194561a2d649">BOSS_Afterburner::TerminalIO::PrintWarning</a> (const TString &amp;message)</td></tr>
<tr class="memdesc:a8751ac933668364ed8a9194561a2d649"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print a <b>warning</b> message in yellow.  <a href="namespaceBOSS__Afterburner_1_1TerminalIO.html#a8751ac933668364ed8a9194561a2d649">More...</a><br /></td></tr>
<tr class="separator:a8751ac933668364ed8a9194561a2d649"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cf768f515ced7b0f68b80b0d5ce0371"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBOSS__Afterburner_1_1TerminalIO.html#a3cf768f515ced7b0f68b80b0d5ce0371">BOSS_Afterburner::TerminalIO::IsEmptyPtr</a> (void *ptr)</td></tr>
<tr class="memdesc:a3cf768f515ced7b0f68b80b0d5ce0371"><td class="mdescLeft">&#160;</td><td class="mdescRight">Auxiliary function that you can used in other functions to check if a pointer that you fed it is a nullpointer. It is useful to use this function if you want to print output when you are incidentally using an empty pointer.  <a href="namespaceBOSS__Afterburner_1_1TerminalIO.html#a3cf768f515ced7b0f68b80b0d5ce0371">More...</a><br /></td></tr>
<tr class="separator:a3cf768f515ced7b0f68b80b0d5ce0371"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8e3a82e28214764ccca58fcc53d98c4"><td class="memTemplParams" colspan="2">template&lt;class TYPE &gt; </td></tr>
<tr class="memitem:ab8e3a82e28214764ccca58fcc53d98c4"><td class="memTemplItemLeft" align="right" valign="top">TYPE &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceBOSS__Afterburner_1_1TerminalIO.html#ab8e3a82e28214764ccca58fcc53d98c4">BOSS_Afterburner::TerminalIO::GetFromMap</a> (std::unordered_map&lt; std::string, TYPE &gt; &amp;map, const std::string &amp;key, const std::string &amp;mapName=&quot;&quot;)</td></tr>
<tr class="memdesc:ab8e3a82e28214764ccca58fcc53d98c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construction to <code>try</code> and <code>catch</code> an exception that comes from <code>map::at</code>.  <a href="namespaceBOSS__Afterburner_1_1TerminalIO.html#ab8e3a82e28214764ccca58fcc53d98c4">More...</a><br /></td></tr>
<tr class="separator:ab8e3a82e28214764ccca58fcc53d98c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a010977dcd85834775f52dfa3195cf0db"><td class="memTemplParams" colspan="2">template&lt;class TYPE &gt; </td></tr>
<tr class="memitem:a010977dcd85834775f52dfa3195cf0db"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceBOSS__Afterburner_1_1TerminalIO.html#a010977dcd85834775f52dfa3195cf0db">BOSS_Afterburner::TerminalIO::MapHasKey</a> (std::unordered_map&lt; std::string, TYPE &gt; &amp;map, const std::string &amp;key)</td></tr>
<tr class="memdesc:a010977dcd85834775f52dfa3195cf0db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if <code>map</code> has a certain <code>key</code>, and returns <code>false</code> if not`.  <a href="namespaceBOSS__Afterburner_1_1TerminalIO.html#a010977dcd85834775f52dfa3195cf0db">More...</a><br /></td></tr>
<tr class="separator:a010977dcd85834775f52dfa3195cf0db"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bfccd401955b95cf8c75461437045ac0.html">inc</a></li><li class="navelem"><a class="el" href="dir_26ef9ee339c5cc4db7c63c78ce40bc13.html">Functions</a></li><li class="navelem"><a class="el" href="TerminalIO_8h.html">TerminalIO.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
